// const Open = require('@bluejj/open-sdk-js');
// const Open = function() {}

// const open = new Open({
//   service_id: 3,
//   appkey: '517ce3bed08d5fe2b7bfe8c3953e9e36',
// });

// // const WechatPay = open.initWechatPay();

// const WechatPay = function() {}

// module.exports = WechatPay;

const Open = require('@bluejj/open-sdk-js');

const WechatPay = Open.initWechatPay({
  appkey: '517ce3bed08d5fe2b7bfe8c3953e9e36',
});

module.exports = WechatPay;
